package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffHaveTargetMySubordinateDto
 * @使用场景
 */
@Data
public class BffHaveTargetMySubordinateDto implements Serializable {

    /**
     * 虚拟组织成员就职记录ID
     */
    @ApiModelProperty("虚拟组织成员就职记录ID")
    private String virtualOrgInductionRecordId;

    /**
     * 个人账号ID
     */
    @ApiModelProperty("个人账号ID")
    private String userId;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
     * 真实头像
     */
    @ApiModelProperty("真实头像")
    private String userFace;
    /**
     * 备注首位字母
     */
    @ApiModelProperty("备注首位字母")
    private String firstLetter;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffHaveTargetMySubordinateDto that = (BffHaveTargetMySubordinateDto) o;
        return virtualOrgInductionRecordId == that.virtualOrgInductionRecordId && userId == that.userId && idCardName == that.idCardName && nickName == that.nickName && userFace == that.userFace && firstLetter == that.firstLetter;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), virtualOrgInductionRecordId, userId, idCardName, nickName, userFace, firstLetter);
    }


}
   